<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8" />
    <title>undefined类型</title>
    <script>
        var num;
        console.log(num);
        console.log(typeof num);
    </script>
</head>

<body>
</body>

</html>